import { getNews } from "@/api/index";

export const getData = () => {
    return getNews().then((res: any) => {
        return res
    });
};